package com.bestescortbedsystem.service;

import com.bestescortbedsystem.entity.OrderSearch;
import com.bestescortbedsystem.entity.SesHospitalinfo;
import com.bestescortbedsystem.entity.SesHospitalinfoDepartment;
import com.bestescortbedsystem.entity.SesUserOrder;
import com.github.pagehelper.PageInfo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * @Author: LuXi
 * @Date: 2021/3/1 16:56
 * @Description:
 */
public interface OrderService {

    /**
     * 获取全部订单信息
     * @return
     */
    PageInfo<SesUserOrder> info(OrderSearch orderSearch, Integer pageSize, Integer pageNum);

    /**
     * 查询所有医院
     * @return
     */
    List<SesHospitalinfo> hospitalInfo();

    /**
     * 查询所有科室
     * @return
     */
    List<SesHospitalinfoDepartment> departmentInfo();

    /**
     * 删除
     * @param userorderid
     */
    public void deleteOrder(Long userorderid);

    /**
     * 获得订单详情
     */
    public Map<String,Object> orderXiangQing(Long userorderid);
}
